<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Modélisation_environnement_forestier Documentation:  Fichier source de PointCloud.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>PointCloud.h</h1>  </div>
</div>
<div class="contents">
<a href="_point_cloud_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef POINTCLOUD_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define POINTCLOUD_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="_hough_space_8h.html" title="Fichier contenant la déclaration de la classe HoughSpace.">HoughSpace.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_point_8h.html" title="Fichier contenant la déclaration de la classe Point.">Point.h</a>&quot;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="_circle_8h.html" title="Fichier contenant la dclaration de la classe Circle.">Circle.h</a>&quot;</span>
<a name="l00010"></a>00010 
<a name="l00016"></a>00016 <span class="keyword">using namespace </span>std;
<a name="l00017"></a>00017 
<a name="l00018"></a><a class="code" href="class_point_cloud.html">00018</a> <span class="keyword">class </span><a class="code" href="class_point_cloud.html">PointCloud</a>
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020         <span class="comment">/* \class PointCloud</span>
<a name="l00021"></a>00021 <span class="comment">         * \brief Classe représentant un nuage de points selon les coordonnées x,y,z et les couleurs r,g,b.</span>
<a name="l00022"></a>00022 <span class="comment">         */</span>
<a name="l00023"></a>00023         
<a name="l00024"></a>00024         <span class="keyword">private</span> :
<a name="l00025"></a>00025 
<a name="l00026"></a><a class="code" href="class_point_cloud.html#a38f0f992bc7ed5f6186140712ab93f68">00026</a>         vector&lt;Point&gt; ListePoints;                                                      
<a name="l00028"></a>00028         <span class="keyword">public</span> :
<a name="l00029"></a>00029 
<a name="l00035"></a>00035     <a class="code" href="class_point_cloud.html">PointCloud</a>(<span class="keywordtype">void</span>);
<a name="l00036"></a>00036     
<a name="l00044"></a>00044         <a class="code" href="class_point_cloud.html">PointCloud</a>(<span class="keyword">const</span> <a class="code" href="class_point_cloud.html">PointCloud</a> &amp; _c);
<a name="l00045"></a>00045     
<a name="l00053"></a>00053         <a class="code" href="class_point_cloud.html">PointCloud</a>(<span class="keywordtype">char</span> *_filename);
<a name="l00054"></a>00054 
<a name="l00060"></a>00060         ~<a class="code" href="class_point_cloud.html">PointCloud</a>();
<a name="l00061"></a>00061 
<a name="l00069"></a>00069         <span class="keywordtype">void</span> displayPointCloud ();
<a name="l00070"></a>00070         
<a name="l00082"></a>00082         <span class="keywordtype">void</span> displayPointCloud ( <span class="keywordtype">float</span> _r, <span class="keywordtype">float</span> _g, <span class="keywordtype">float</span> _b);
<a name="l00083"></a>00083         
<a name="l00091"></a>00091         <span class="keywordtype">void</span> printPointCloud ();
<a name="l00092"></a>00092         
<a name="l00102"></a>00102         <span class="keywordtype">void</span> add(<a class="code" href="class_point.html">Point</a> _p);
<a name="l00103"></a>00103         
<a name="l00113"></a>00113         <a class="code" href="class_point.html">Point</a> <span class="keyword">get</span>(<span class="keywordtype">int</span> _i);
<a name="l00114"></a>00114         
<a name="l00120"></a>00120         <span class="keywordtype">void</span> clear(<span class="keywordtype">void</span>);
<a name="l00121"></a>00121         
<a name="l00129"></a>00129         <span class="keywordtype">int</span> size(<span class="keywordtype">void</span>);
<a name="l00130"></a>00130         
<a name="l00140"></a>00140         <span class="keywordtype">void</span> getCircles(vector &lt;Circle&gt; &amp; _tabCircles);
<a name="l00141"></a>00141 
<a name="l00152"></a>00152         <span class="keywordtype">void</span> getCircles(<a class="code" href="class_hough_space.html">HoughSpace</a> &amp; _hs, <span class="keywordtype">float</span> _rMax);
<a name="l00153"></a>00153 
<a name="l00165"></a>00165         <span class="keywordtype">void</span> getCircles(<a class="code" href="class_hough_space.html">HoughSpace</a> &amp; _hs, <span class="keywordtype">float</span> _rMax, <span class="keywordtype">int</span> _coef);
<a name="l00166"></a>00166         
<a name="l00176"></a>00176         <a class="code" href="class_point_cloud.html">PointCloud</a> &amp;operator= (<span class="keyword">const</span> <a class="code" href="class_point_cloud.html">PointCloud</a> &amp;_c);
<a name="l00177"></a>00177         
<a name="l00185"></a>00185         <span class="keywordtype">float</span> getZMin ();
<a name="l00186"></a>00186         
<a name="l00194"></a>00194         <a class="code" href="class_point.html">Point</a> getPointMin ();
<a name="l00195"></a>00195         
<a name="l00206"></a>00206         <span class="keywordtype">void</span> keepPointsBetween ( <span class="keywordtype">float</span> _zMin, <span class="keywordtype">float</span> _zMax);
<a name="l00207"></a>00207         
<a name="l00219"></a>00219         <span class="keywordtype">void</span> setOrigin ( <span class="keywordtype">float</span> _xMin, <span class="keywordtype">float</span> _yMin, <span class="keywordtype">float</span> _zMin );
<a name="l00220"></a>00220         
<a name="l00231"></a>00231         <span class="keywordtype">void</span> keepSlice ( <span class="keywordtype">float</span> _bas , <span class="keywordtype">float</span> _haut );
<a name="l00232"></a>00232         
<a name="l00243"></a>00243         <span class="keywordtype">void</span> keepSlice(<span class="keywordtype">float</span> _bas, <span class="keywordtype">int</span> _nbPoints );
<a name="l00244"></a>00244         
<a name="l00256"></a>00256         <span class="keywordtype">void</span> keepSlice(<span class="keywordtype">float</span> _bas, <span class="keywordtype">float</span> _haut, <span class="keywordtype">int</span> _nbPoints );
<a name="l00257"></a>00257         
<a name="l00268"></a>00268         <a class="code" href="class_point_cloud.html">PointCloud</a> getSlice ( <span class="keywordtype">float</span> _bas, <span class="keywordtype">float</span> _haut );
<a name="l00269"></a>00269 
<a name="l00280"></a>00280         <a class="code" href="class_point_cloud.html">PointCloud</a> getSlice ( <span class="keywordtype">float</span> _bas, <span class="keywordtype">int</span> _nbPoints );
<a name="l00281"></a>00281         
<a name="l00293"></a>00293         <a class="code" href="class_point_cloud.html">PointCloud</a> getSlice ( <span class="keywordtype">float</span> _bas, <span class="keywordtype">float</span> _haut, <span class="keywordtype">int</span> _nbPoints );
<a name="l00294"></a>00294         
<a name="l00300"></a>00300         <span class="keywordtype">void</span> Sort();
<a name="l00301"></a>00301 
<a name="l00302"></a>00302         
<a name="l00303"></a>00303 };
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Généré le Mon Feb 21 2011 18:18:15 pour Modélisation_environnement_forestier Documentation par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
